<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<title>在平安</title>
<meta name="description" content="中国平安" />
<meta name="keywords" content="中国平安" />
<meta content="width=640, target-densitydpi=320, user-scalable=no" name="viewport" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta content="telephone=no" name="format-detection" />
<link rel="stylesheet" type="text/css" href="../css/base.css">
<link rel="stylesheet" type="text/css" href="../css/public.css">
<script src="../js/zepto.min.js" type="text/javascript"></script>
<script src="../js/zepto-touch.js" type="text/javascript"></script>
<script src="../js/myfund/fund-reg.js" type="text/javascript"></script>
<script src="../js/public.js" type="text/javascript"></script>
<script src="../js/iscroll.js" type="text/javascript"></script>
<style>
/*
*@基金交易密码清除按钮
*/
.ipt-clear-btn {position:absolute;top:0;right:0;display:none;width: 40px;height: 90px;padding-right: 15px;overflow: hidden;}
.ipt-clear-btn > span {display: block;width: 40px;height: 60px;background:url(../images/smallicons-sprite.png) 0 -320px no-repeat;background-size:cover;margin: 20px auto 0 auto;}

#wrap{position: absolute;width: 100%;height: 100%;overflow:hidden;}
</style>
</head>

<body>
<div id="wrap">
	<header class="top-bar">
		<div class="top-bar-cont">
			<span onclick="returnHome();" class="btn-bar-css btn-bar-back btn-bar-left"><i></i></span>
			<h1>基金交易授权</h1>
		</div>
	</header>
	<section id="content" style="position: relative;">
	<div>
        <div class="form-table">
            <ul class="form-table-list">
                <li class="user-edit-disable">
                    <div class="form-edit-area">
                        <div class="edit-area-ipt" id="fundLoginId"></div>
                    </div>
                </li>
                <li>
                    <div class="form-edit-area">
                        <div class="edit-area-ipt">
                        	<input id="fundPass" type="password" class="ipt" maxlength="8" placeholder="基金交易密码" autocapitalize="off">
                        	<div class="ipt-clear-btn j-clearBtn"><span></span></div>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="form-edit-area">
                        <div class="edit-area-ipt"><input id="validateCode" type="tel" class="ipt" placeholder="验证码" autocapitalize="off"></div>
                    </div>
                    <div id="validateCodeBtn" class="edit-area-btn">获取验证码</div>
                </li>
                <li>
                    <p>手机号码：<span id="phoneId" class="fn-c-3580d5">13812345678</span>（可通过PS系统修改）</p>
                </li>
                <li>
                    <label id="agreeBox" class="label-checkbox label-checkbox-off"><input type="checkbox">同意</label>
                    <a href="/mobile/myfund/contractInfo.html" class="fn-c-3580d5 click-form-agreement">《平安大华基金管理有限公司网上直销前置式自助前台服务协议》</a>
                </li>
            </ul>
        </div>
        <div class="content-btn">
            <div class="btn-css btn-bg-fa4043" id="J-BtnExit">授权</div>
        </div>
    </div>
    </section>
</div>
<script>
$(".j-clearBtn").on("tap", function(){
    $(this).siblings("input").val('').focus();
    $(this).hide();
    
});
$("#fundPass").on("keyup", function(){
    var clearBtn = $(this).siblings(".j-clearBtn");
    if(this.value !== ''){
        clearBtn.show();
    }else{
        clearBtn.hide();
    }
});
$("label.label-checkbox").tap(function(){
    var that = $(this);
    if(that.hasClass("label-checkbox-off")){
        that.removeClass("label-checkbox-off").addClass("label-checkbox-on");
    }else{
        that.removeClass("label-checkbox-on").addClass("label-checkbox-off");
    };
     
})    
</script>
</body>
</html>
